//
//  BrokerDM.h
//  WGFGlobalHouses
//
//  Created by welldone on 15/5/21.
//  Copyright (c) 2015年 waiguofang. All rights reserved.
//

#import "BaseDataManage.h"
#import "Connect.h"
#import "BorkerCellModel.h"
#import "AddBrokerModel.h"


//经纪人管理
@interface BrokerDM : BaseDataManage

//获取经纪人列表 linda
-(ResulteMod*)refreshDataWithStoreCode:(NSString *)storeCode withKeyWord:(NSString *)keyword;

//经纪人列表加载更多
-(ResulteMod *)loadMoreDataWithKeyword:(NSString *)keyword withIndex:(NSInteger )pageInd;



//获取经纪人列表 andy
-(ResulteMod*)refreshDataWithAgencyCode2:(NSString *)agencyCode withKeyWord:(NSString *)keyword;





//选择门店--的列表
-(ResulteMod*)refreshStoresDatawithStorecode:(NSString *)storeCode;


//－－－－－－－－－经纪人管理模块－－－－－－－－－
//单个修改经纪人状态（启用，禁用）stauts:0进行启用操作，1进行禁用操作
-(ResulteMod *)modifyuserstatusWithModel:(BorkerCellModel *)model;
//添加门店
-(ResulteMod *)createshopWith:(NSString *)shopName;
//单个经纪人移动
-(ResulteMod *)changeshopWithBorkerId:(NSString *)brokerId withShopCode:(NSString *)shopCode;
//添加经纪人
-(ResulteMod *)createbrokerWithAddBrokerModel:(AddBrokerModel *)model;
//批量操作（启用，禁用)
-(ResulteMod *)batchmodifyuserstatusWithBorkerId:(NSString *)brokerId withStatuts:(NSString *)status;
//批量移动门店
-(ResulteMod *)batchchangeshopWithBrokerIds:(NSString *)brokerIds WithShopCode:(NSString *)shopCode;
//经纪人编辑
-(ResulteMod *)modifybrokerWithBrokerId:(NSString *)brokerId WithBrokerPhone:(NSString *)phone withbrokerName:(NSString *)brokerName;




//－－－－－－－－－门店管理模块－－－－－－－－－
//获取门店管理中的门店列表
-(ResulteMod *)storemanagelistrefreshData;
//批量门店启用禁用操作
-(ResulteMod *)batchmodifystorestatusWithStoreId:(NSString *)storeId WithStatus:(NSString *)stauts;
//门店启用，禁用（单个）
-(ResulteMod *)modifystorestatusWithStoreId:(NSString *)storeId WithStatus:(NSString *)status;
//门店编辑
-(ResulteMod *)modifystoreWithStoreId:(NSString *)storeId withStoreName:(NSString *)storeName;
@end

